You use the lock method to gain exclusive access to the file. 使用lock方法获得对文件的独占访问。
Conversely, if an exclusive lock was able to be acquired, concurrent applications would not be able to access the file and could fail with a lock time-out. 相反地,如果能够获得互斥型锁,那么并发应用程序就无法访问文件,并因为锁超时失败。
The typical solution to a race condition is to ensure that your program has exclusive rights to something while it's manipulating it, such as a file, device, object, or variable. 竞争条件的典型解决方案是,确保程序在使用某个资源(比如文件、设备、对象或者变量)时,拥有自己的专有权。
As mentioned earlier, all previous mechanisms of changing the media preference required an exclusive lock on the entire file. 如前所述,之前所有用于修改媒介首选项的方法都要求对整个文件使用互斥型锁。
Lastly, all the existing statements and CL commands required an exclusive lock on the entire file. 最后,所有现有语句和CL命令在整个文件上需要一个互斥型锁。
If you're working in a team environment, you'll need to obtain an exclusive lock on the data file (. nextsuitebehavior) since you won't be able to merge the file in your version control system. 如果你正在一个团队中工作,你将需要得到数据文件的排它锁(.nextsuitebehavior),因为你不可能在版本控制系统中合成文件。
Disable the use of exclusive file locking and put in place measures to prevent overloads or network partitions. 解除文件排他锁定功能,并采取措施来防止过载或网络划分。
Exclusive open required to update this file. Please reopen. 要更新此文件需以独占方式打开。请重新打开此文件。
Automatic peer recovery does require the use and guarantee of exclusive file locks to ensure transactional data integrity. 自动对等恢复需要排它文件锁定的使用和保证来确保事务的数据完整性。
Any natural person, legal person or other organization, intending to acquire the exclusive right to use a service mark for the service provided by him or it, shall file an application for the registration of the service mark with the trademark office. 自然人、法人或者其他组织对其提供的服务项目,需要取得商标专用权的,应当向商标局申请服务商标注册。